package me.macd.mindoc.dao;

import me.macd.mindoc.model.MemberRelationshipResult;
import me.macd.mindoc.model.Members;

import java.util.List;

/**
 * @program: mindoc
 * @description: ${description}
 * @author: 2018-10-10
 * @create: 2018-10-10 20:42
 */
public interface MemberDao {
    int countForUsersByBookId(int bookId);

    List<MemberRelationshipResult> findForUsersByBookId(int bookId, int start, int pageSize);

    Members findByAccount(String account);

    Members findByPrimaryKey(int key);

    int update(Members member);
}
